package com.four.project.service;

import com.four.project.pojo.CustomeReq;
import com.four.project.pojo.CustomeResp;
import com.four.project.pojo.Customer;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by 54110 on 2020/7/1.
 */
public interface CustomeService  {
    String insert(Customer customer);

    CustomeResp findAll(Integer page, Integer size);



    Customer updateCustom(Customer customer);

    void deleteById(Integer id);

    void sendMail(String email, HttpServletRequest request);

    String login(CustomeReq customeReq, HttpServletRequest request);
}
